import { getReq, postReq } from '@U/common'

// 获取轮播图数据
export const getBanner = () => getReq('/api/channel-agent/banner/list')

// 获取轮播图信息
export const getBannerInfo = (params = {}) => getReq('/api/channel-agent/material/info', params)

// 获取最新消息
export const getPersonCardMsg = () => postReq('/api/channel-agent/site-msg/card-msg', { top: 4 })

// 获取我的团队
export const getMyTeam = () => getReq('/api/channel-agent/invite-list')
// 获取工作台相关弹框信息
export const getPopupInfo = () => getReq('/api/channel-agent/popup/info')
